<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>错误 - FTP同步系统</title>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
    <div class="container">
        <div class="error-container">
            <h1>出错了</h1>
            <div class="error-message">
                {{ error }}
            </div>
            <div class="error-actions">
                <a href="{{ url_for('index') }}" class="btn">返回首页</a>
                <button onclick="window.history.back()" class="btn">返回上一页</button>
            </div>
        </div>
    </div>
</body>
</html> 